.rule-form-modal .ant-modal-body {
  padding: 24px;
}

.rule-form-modal .ant-form-item-label > label {
  font-weight: 600;
}

.rule-form-modal .ant-form-item-extra {
  margin-top: 4px;
  font-size: 12px;
}

.rule-form-modal .ant-input,
.rule-form-modal .ant-select-selector,
.rule-form-modal .ant-input:focus,
.rule-form-modal .ant-select-focused .ant-select-selector {
  border-radius: 6px;
}

.rule-form-modal .ant-form-item-has-error .ant-input,
.rule-form-modal .ant-form-item-has-error .ant-select-selector {
  border-color: #ff4d4f;
}

.rule-form-modal .ant-switch {
  margin-top: 4px;
}

/* 代码输入框样式 */
.rule-form-modal .ant-input[placeholder*="CHAR"],
.rule-form-modal .ant-input[placeholder*="CREATE"] {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 12px;
}

/* 文本域计数器样式 */
.rule-form-modal .ant-input-data-count {
  font-size: 12px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .rule-form-modal {
    margin: 8px;
    max-width: calc(100vw - 16px);
  }
  
  .rule-form-modal .ant-modal-body {
    padding: 16px;
  }
  
  .rule-form-modal .ant-row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .rule-form-modal .ant-col {
    padding-left: 0;
    padding-right: 0;
  }
}